//
//  WHNHistoryCollectionViewCell.h
//  YiQiTingShu
//
//  Created by dllo on 15/11/12.
//  Copyright © 2015年 直到世界的尽头. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CoreDataManager.h"

@protocol HisrotyDelegate <NSObject>

-(void)didSelect:(id)history
         Section:(NSInteger)section;

@end

@interface WHNHistoryCollectionViewCell : UICollectionViewCell<UITableViewDataSource, UITableViewDelegate>

@property(nonatomic, strong)UITableView *tableView;

@property(nonatomic, strong)CoreDataManager *manager;
@property(nonatomic, strong)NSArray *dataSource;
@property(nonatomic, strong)NSArray *playHistoryArrary;
@property(nonatomic, strong)UILabel *errorLabel;
@property(nonatomic, assign)id<HisrotyDelegate> delegate;
-(void)selectAction;
-(void)playHistory;




@end
